package circularity;

/**
 * This class represents an author of many books.
 * 
 * Note that 'book' is maintained as a public field  
 * with no attempt at data hiding, in order to make it simple
 * to manipulate this field directly.
 * A more robust implementation would, of course, make this
 * private and expose methods such as 
 *   public void clearBooks();
 * and
 *   public void addBook(BookCircMany author);
 *   
 * This class participates in a many-to-many relationship with
 * BookCircMany:
 *   AuthorCircMany <*----*> BookCircMany
 * 
 * @author Sachin Venugopalan
 * @since 27 February, 2012
 */
import java.util.List;

public class AuthorCircMany {
	public List<BookCircMany> books;
	private String name;
	
	public AuthorCircMany(String name){
		this.name = name;
	}
	
	public String getName() {
		return this.name;
	}

}
